package com.ruoyi.novel.domain;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 交友信息对象 a_friends
 *
 * @author 张三
 * @date 2025-04-21
 */
@TableName("a_friends")
public class Friends  extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /** 用户 */
    @Excel(name = "用户")
    private Integer userId;

    /** 昵称 */
    @Excel(name = "昵称")
    private String nickName;

    /** 头像 */
    @Excel(name = "头像")
    private String avatarUrl;

    /** 年龄 */
    @Excel(name = "年龄")
    private String age;

    /** 图片 */
    @Excel(name = "图片")
    private String image;

    /** 喜好 */
    @Excel(name = "喜好")
    private String hobby;

    /** 服务项目 */
    @Excel(name = "服务项目")
    private String serve;

    /** 价格 */
    @Excel(name = "价格")
    private BigDecimal price;

    /** QQ */
    @Excel(name = "QQ")
    private String qq;

    /** 微信 */
    @Excel(name = "微信")
    private String weChat;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;

    /** 简介 */
    @Excel(name = "简介")
    private String content;

    /** QQ积分 */
    @Excel(name = "QQ积分")
    private BigDecimal integralQq;

    /** 微信积分 */
    @Excel(name = "微信积分")
    private BigDecimal integralWx;

    /** 手机积分 */
    @Excel(name = "手机积分")
    private BigDecimal integralPhone;

    /** 省 */
    @Excel(name = "省")
    private String province;

    /** 市 */
    @Excel(name = "市")
    private String city;

    /** 区 */
    @Excel(name = "区")
    private String region;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String location;

    /** 状态 */
    @Excel(name = "状态")
    private Integer state;

    @TableField(exist = false)
    private Integer friendsType;

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId()
    {
        return id;
    }
    public void setUserId(Integer userId)
    {
        this.userId = userId;
    }

    public Integer getUserId()
    {
        return userId;
    }
    public void setNickName(String nickName)
    {
        this.nickName = nickName;
    }

    public String getNickName()
    {
        return nickName;
    }
    public void setAvatarUrl(String avatarUrl)
    {
        this.avatarUrl = avatarUrl;
    }

    public String getAvatarUrl()
    {
        return avatarUrl;
    }
    public void setAge(String age)
    {
        this.age = age;
    }

    public String getAge()
    {
        return age;
    }
    public void setImage(String image)
    {
        this.image = image;
    }

    public String getImage()
    {
        return image;
    }
    public void setHobby(String hobby)
    {
        this.hobby = hobby;
    }

    public String getHobby()
    {
        return hobby;
    }
    public void setServe(String serve)
    {
        this.serve = serve;
    }

    public String getServe()
    {
        return serve;
    }
    public void setPrice(BigDecimal price)
    {
        this.price = price;
    }

    public BigDecimal getPrice()
    {
        return price;
    }
    public void setQq(String qq)
    {
        this.qq = qq;
    }

    public String getQq()
    {
        return qq;
    }
    public void setWeChat(String weChat)
    {
        this.weChat = weChat;
    }

    public String getWeChat()
    {
        return weChat;
    }
    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }
    public void setContent(String content)
    {
        this.content = content;
    }

    public String getContent()
    {
        return content;
    }
    public void setIntegralQq(BigDecimal integralQq)
    {
        this.integralQq = integralQq;
    }

    public BigDecimal getIntegralQq()
    {
        return integralQq;
    }
    public void setIntegralWx(BigDecimal integralWx)
    {
        this.integralWx = integralWx;
    }

    public BigDecimal getIntegralWx()
    {
        return integralWx;
    }
    public void setIntegralPhone(BigDecimal integralPhone)
    {
        this.integralPhone = integralPhone;
    }

    public BigDecimal getIntegralPhone()
    {
        return integralPhone;
    }
    public void setProvince(String province)
    {
        this.province = province;
    }

    public String getProvince()
    {
        return province;
    }
    public void setCity(String city)
    {
        this.city = city;
    }

    public String getCity()
    {
        return city;
    }
    public void setRegion(String region)
    {
        this.region = region;
    }

    public String getRegion()
    {
        return region;
    }
    public void setLocation(String location)
    {
        this.location = location;
    }

    public String getLocation()
    {
        return location;
    }
    public void setState(Integer state)
    {
        this.state = state;
    }

    public Integer getState()
    {
        return state;
    }

    public Integer getFriendsType() {
        return friendsType;
    }

    public void setFriendsType(Integer friendsType) {
        this.friendsType = friendsType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("userId", getUserId())
                .append("nickName", getNickName())
                .append("avatarUrl", getAvatarUrl())
                .append("age", getAge())
                .append("image", getImage())
                .append("hobby", getHobby())
                .append("serve", getServe())
                .append("price", getPrice())
                .append("qq", getQq())
                .append("weChat", getWeChat())
                .append("phone", getPhone())
                .append("content", getContent())
                .append("integralQq", getIntegralQq())
                .append("integralWx", getIntegralWx())
                .append("integralPhone", getIntegralPhone())
                .append("province", getProvince())
                .append("city", getCity())
                .append("region", getRegion())
                .append("location", getLocation())
                .append("state", getState())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}
